Make sure that gdal dataset paths are bytestrings