Add study date to the patient ID csv file saved on exit.