Fix newline behavior when loading test files on Windows.
Add .dll to .gitignore for builds on Windows.