throw datasource_exception on GDAL RasterIO failures