Implement as_qgis_native method for safe rasters