Fix csv file to make valid