Fixed the modification time detector to deal properly with missing files.