createMETSMetadataCSV: use universal newlines

This fixes reading CSVs with unusual newlines, like \r.

Fixes #7015.