### Godot version

v4.2.beta.custom_build [a574c0296]

### System information

linux

### Issue description

Folder colors don't show up in file dialogs: when saving a scene, etc.

### Steps to reproduce

1. color a folder
2. create and open the save scene dialog and navigate to the colored folder
3. notice it's not shown its color in the file dialog

### Minimal reproduction project

any
for (const KeyValue<String, ResourceUID::ID> &pair : p_uids) {
		if (p_renames.has(pair.key)) {
			ResourceUID::get_singleton()->set_id(pair.value, p_renames[pair.key]);
		}
	}
	
	List<Ref<Resource>> cached;
	ResourceCache::get_cached_resources(&cached);
	for (Ref<Resource> &r : cached) {
		String base_path = r->get_path();
		String extra_path;
		int sep_pos = r->get_path().find("::");
		if (sep_pos >= 0) {
			extra_path = base_path.substr(sep_pos, base_path.length());
			base_path = base_path.substr(0, sep_pos);
		}
		if (p_renames.has(base_path)) {
			base_path = p_renames[base_path];
		}
		r->set_path(base_path + extra_path);
	}
}
void FileSystemDock::_update_dependencies_after_move(const HashMap<String, String> &p_renames, const HashSet<String> &p_file_owners) const {