allow output of text msg (fputcsv does escaping), add pg table definition, load with psql -c 'copy [tablename] from STDIN csv'