Preserve CRLF line endings for Windows batch files
Normalize line endings
This closes #247