Fix for broken Windows EOL handling (fixes #9)