Bug in writing restart with USE_CALENDAR
The name of the restart file is not defined correctly from the date. The indexes that pick the year, month, days from the cdate string are wrong (because of the recent change in date format with USE_CALENDAR) The code stops on the definition of the name.