ENH: Replaced \n by os.linesep