A more defensive fix for invalid date formats in exif. #1335