When writing to streams, if runtime classes should be output then these should also be written to the stream, just as they are for directories.
However, matching the CodeWriter file separator style might be a pain, so this must be balanced against its usefulness.