insure maxModTime is a date object