Fix line splitting on windows
Merge pull request #1 from piotr-cz/bugfix-windows

Fix line splitting on windows