Handle Windows line endings when comparing files