### 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
Error err = da->copy(old_path, new_path);
			if (err != OK) {
				EditorNode::get_singleton()->add_io_error(TTR("Error duplicating:") + "\n" + old_path + ": " + error_names[err] + "\n");
				return;
			}
			
			Ref<ConfigFile> cfg;
			cfg.instantiate();
			cfg->load(old_path + ".import");
			cfg->erase_section_key("remap", "uid");
			err = cfg->save(new_path + ".import");
			if (err != OK) {
				EditorNode::get_singleton()->add_io_error(TTR("Error duplicating:") + "\n" + old_path + ".import: " + error_names[err] + "\n");
				return;
			}
		} else {
			
			if (ResourceLoader::get_resource_uid(old_path) == ResourceUID::INVALID_ID) {
				Error err = da->copy(old_path, new_path);
				if (err != OK) {
					EditorNode::get_singleton()->add_io_error(TTR("Error duplicating:") + "\n" + old_path + ": " + error_names[err] + "\n");
				}
				return;
			}
			
			Error err;
			Ref<Resource> res = ResourceLoader::load(old_path, "", ResourceFormatLoader::CACHE_MODE_REUSE, &err);
			if (err == OK && res.is_valid()) {
				err = ResourceSaver::save(res, new_path, ResourceSaver::FLAG_COMPRESS);
				if (err != OK) {