Ensure \r\n line endings are processed correctly on windows.