As discussed in PR #124, it would be nice to find a way to use `gdaldumpopendatasets` for debugging leaked datasets. `pointer_from_objref(stdout)` has been tried without success in https://github.com/JuliaGeo/GDAL.jl/pull/124#discussion_r721037477