separator should be delimiter not record separator.

Otherwise newlines are replaces by commas...