Windows-style EOL ("\r\n") to Unix-style EOL ("\n")

otherwise caused an error