remove carriage returns and line breaks for strings in CSV encoder