tests: Fix handling of newlines from expected output files
Merge pull request #603 from stinos/windows-tests-newline

tests: Fix handling of newlines from expected output files on windows