Using mtime to avoid unneeded syncing