DB cleanup. Don't read metadata if mtime unchanged