### Godot version

Master, commit 37d1dfef9d81aade2

### System information

PopOs 22.04, any renderer, Gnome, X11

### Issue description

When exporting a scene to GLTF, the new file does not show up in the filesystem tree, until a new file or folder is created.


https://github.com/godotengine/godot/assets/3624853/ede88d50-f93d-4487-913f-1d87bbd8a7bb

Granted, this is not a very common case. But still, the behavior might seem strange and confusing. It gives the impression that the export did not work.

### Steps to reproduce

- Open any 3D scene and export it to GLTF by going to `Scene > Export to ... > gLTF2.0 Scene`
- Set the file path to your `res://` folder
- The file does not show up
- Create a new folder in the FileSystem tree. This will update the tree and your GLTF file will show up then.

### Minimal reproduction project

No need.
Just export any 3D scene to GLTF.
Node *root = EditorNode::get_singleton()->get_tree()->get_edited_scene_root();
	if (!root) {
		EditorNode::get_singleton()->show_accept(TTR("This operation can't be done without a scene."), TTR("OK"));
		return;
	}
	String filename = String(root->get_scene_file_path().get_file().get_basename());
	if (filename.is_empty()) {
		filename = root->get_name();
	}
	file_export_lib->set_current_file(filename + String(".gltf"));
	file_export_lib->popup_centered_ratio();
}
#endif