I think there's some quirk that screws up newlines in CSVs on certain OSs when not writing in binary mode. I think it may be a Windows-specific problem though, so I'd be fine killing the B.