Ignore \r line endings when comparing files in test