Handle renaming resources when files are missing.