### 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 (matches->size() > p_max_items) {
		return;
	}
	for (int i = 0; i < p_path->get_subdir_count(); i++) {
		_search(p_path->get_subdir(i), matches, p_max_items);
	}
	for (int i = 0; i < p_path->get_file_count(); i++) {
		String file = p_path->get_file(i);
		if (file.to_lower().contains(searched_string)) {
			FileInfo fi;
			fi.name = file;
			fi.type = p_path->get_file_type(i);
			fi.path = p_path->get_file_path(i);
			fi.import_broken = !p_path->get_file_import_is_valid(i);
			fi.modified_time = p_path->get_file_modified_time(i);
			if (_is_file_type_disabled_by_feature_profile(fi.type)) {
				
				continue;
			}
			matches->push_back(fi);
			if (matches->size() > p_max_items) {
				return;
			}
		}
	}
}
struct FileSystemDock::FileInfoTypeComparator {
	bool operator()(const FileInfo &p_a, const FileInfo &p_b) const {