Fix newlines on windows for CSV