PHP Script to scrub and save a csv file