Fix typo in file date checking