ENH: Better use splitlines instead of os.linesep