Fix date parsing from file name