Rebuild image cache on file update