adds trailing comma to plural csv writer, fixes typo