Fix formatting of bad dates from external storages

When getting a bad mtime for a file (such as for FTP directories), the Modified time will be replaced with `?` and the tooltip will contain 'Unable to determine date'. Fixes #6395
Need to retest file upload, I believe that it might not always pass "mtime" in fileData.