[spark-postgres] csv writer does not handle ^M (\r)
When a ^M character is in the string, the csv writer does not add quotes and this is considered as a newline by postgres.
one workaround is to filter textual content and replace all carriage return with \n