Use fputscsv to generate a string version of an array