Don't use os.linesep anymore.

Since Python 3 does implicit conversions.