writing csv files -- using fputcsv