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
we should move away from using timestamps to use real datetime values using ISO-bla