Add metadata to top of csv file