Fixed the output format of the csv files so as not to include the row number, but leave the column headz intact