Fix parser for windows EOL markers