DS-1981   remove newlines before printing to CSV file in metadata-export

we have dirty data in our repo - aka item names with newlines 

this creates messy CSV output in the metadata exporter