### Godot version

4.0 beta 17

### System information

Windows 11, Forward+, RTX 4090

### Issue description

In the latest beta, baking LightmapGI has taken a big performance hit. The baking itself might not be the problem, it's the (Re)Importing Assets step for the `.exr` that seems to take all the time.




### Steps to reproduce

I've included a repro project to demonstrate it. Click the `LightmapGI` node and then the `Bake Lightmaps` button.

Before Beta 17:
`Done baking lightmaps in 00:00:01.`

With Beta 17 (and the latest Master branch, just in case):
`Done baking lightmaps in 00:00:08.`



### Minimal reproduction project

[lightmap-regression-repro.zip](https://github.com/godotengine/godot/files/10579835/lightmap-regression-repro.zip)

}
#endif
		}
		
		gi_data->set_capture_data(bounds, interior, points, sh, tetrahedrons, bsp_array, exposure_normalization);
		
	}
	gi_data->set_path(p_image_data_path);
	Error err = ResourceSaver::save(gi_data);
	if (err != OK) {
		return BAKE_ERROR_CANT_CREATE_IMAGE;
	}
	set_light_data(gi_data);
	return BAKE_ERROR_OK;
}
void LightmapGI::_notification(int p_what) {
	switch (p_what) {
		case NOTIFICATION_POST_ENTER_TREE: {
			if (light_data.is_valid()) {
				_assign_lightmaps();
			}
		} break;
		case NOTIFICATION_EXIT_TREE: {
			if (light_data.is_valid()) {
				_clear_lightmaps();
			}
		} break;
	}
}
void LightmapGI::_assign_lightmaps() {