Scanner test: ensure mtime in the cache is the same as on the storage to prevent random failures