Remove last comma from end of file