Fix CRLF comparisons when run on Unix/Mono
Merge pull request #84 from onovotny/fix-crlf

Fix CRLF comparisons when run on Unix/Mono
Minor code review comments