CSV problems revealed by new cloudooo

New cloudooo uses text/csv as mimetype for CSV, which is correct, but this revealed issues in ERP5:
 - ERP5 did not detect text/csv for csv extensions
 - downloading a file with content type text/csv caused an error

See merge request !1859
16 jobs for feat/merge_a_bit_of_zope4py3
in 0 seconds, using 0 compute credits, and was queued for 0 seconds