Change test to check for \r as well
Use os.EOL instead of \n
Merge pull request #4 from jhnns/fix/on-windows

Fix on windows