Fixed line ending

A minor change. In general, os.linesep should not be used.