### 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
if (display_mode == DISPLAY_MODE_TREE_ONLY) {
		
		selected = _tree_get_selected();
	} else {
		
		for (int i = 0; i < files->get_item_count(); i++) {
			if (!files->is_selected(i)) {
				continue;
			}
			selected.push_back(files->get_item_metadata(i));
		}
	}
	if (!selected.is_empty() && selected[0] == "res://") {
		
		return;
	}
	
	Vector<String> efiles;
	String extension;
	for (const String &fpath : selected) {
		_get_imported_files(fpath, extension, efiles);
	}
	
	Vector<String> imports;
	String import_type;
	for (int i = 0; i < efiles.size(); i++) {
		String fpath = efiles[i];
		Ref<ConfigFile> cf;
		cf.instantiate();
		Error err = cf->load(fpath + ".import");