add CsvFile inserter

Based on the File inserter, this allows for use of fputcsv instead of fwrite.