### Godot version

v4.2.dev4.official [549fcce5f]

### System information

Godot v4.2.dev4 - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (NVIDIA; 31.0.15.3640) - Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 Threads)

### Issue description

If the folder has assigned a color, the color is reset to default when the folder name is changed. Also subfolder colors are reset.

Also moving a folder resets its and its subfolders' colors.

I would expect that renaming or moving doesn't rest the folder color. Especially if you have a large folder structure with many folder levels and assigned colors, it is a unfortunate to have all colors reset if the top level folder is renamed.

### Steps to reproduce

1. Create folder structure 

```
level1
	level2
		level3
```

2. Set folder colors to `level1` and `level2.`

3. Rename `level1` to `foobar` 

-> All folders are now using the default color.


### Minimal reproduction project

N/A
folder_colors["yellow"] = Color(1.0, 0.890, 0.271);
	folder_colors["green"] = Color(0.502, 1.0, 0.271);
	folder_colors["teal"] = Color(0.271, 1.0, 0.635);
	folder_colors["blue"] = Color(0.271, 0.843, 1.0);
	folder_colors["purple"] = Color(0.502, 0.271, 1.0);
	folder_colors["pink"] = Color(1.0, 0.271, 0.588);
	folder_colors["gray"] = Color(0.616, 0.616, 0.616);
	assigned_folder_colors = ProjectSettings::get_singleton()->get_setting("file_customization/folder_colors");
	editor_is_dark_theme = EditorSettings::get_singleton()->is_dark_theme();
	VBoxContainer *top_vbc = memnew(VBoxContainer);
	add_child(top_vbc);
	HBoxContainer *toolbar_hbc = memnew(HBoxContainer);
	toolbar_hbc->add_theme_constant_override("separation", 0);
	top_vbc->add_child(toolbar_hbc);
	button_hist_prev = memnew(Button);
	button_hist_prev->set_flat(true);
	button_hist_prev->set_disabled(true);
	button_hist_prev->set_focus_mode(FOCUS_NONE);
	button_hist_prev->set_tooltip_text(TTR("Go to previous selected folder/file."));
	toolbar_hbc->add_child(button_hist_prev);
	button_hist_next = memnew(Button);
	button_hist_next->set_flat(true);
	button_hist_next->set_disabled(true);
	button_hist_next->set_focus_mode(FOCUS_NONE);
	button_hist_next->set_tooltip_text(TTR("Go to next selected folder/file."));
	toolbar_hbc->add_child(button_hist_next);
	current_path_line_edit = memnew(LineEdit);
	current_path_line_edit->set_structured_text_bidi_override(TextServer::STRUCTURED_TEXT_FILE);
	current_path_line_edit->set_h_size_flags(SIZE_EXPAND_FILL);
	_set_current_path_line_edit_text(current_path);