### 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 (file_name.to_lower().find(searched_string) < 0) {
					
					continue;
				} else {
					
					parent_should_expand = true;
				}
			}
			FileInfo fi;
			fi.name = p_dir->get_file(i);
			fi.type = p_dir->get_file_type(i);
			fi.import_broken = !p_dir->get_file_import_is_valid(i);
			fi.modified_time = p_dir->get_file_modified_time(i);
			file_list.push_back(fi);
		}
		
		_sort_file_info_list(file_list);
		
		for (const FileInfo &fi : file_list) {
			TreeItem *file_item = tree->create_item(subdirectory_item);
			file_item->set_text(0, fi.name);
			file_item->set_structured_text_bidi_override(0, TextServer::STRUCTURED_TEXT_FILE);
			file_item->set_icon(0, _get_tree_item_icon(!fi.import_broken, fi.type));
			Color parent_bg_color = subdirectory_item->get_custom_bg_color(0);
			if (has_custom_color) {
				file_item->set_custom_bg_color(0, parent_bg_color.darkened(0.3));
			} else if (parent_bg_color != Color()) {
				file_item->set_custom_bg_color(0, parent_bg_color);
			}
			String file_metadata = lpath.path_join(fi.name);