Make sure path is a bytestring when using gdal.Open(path)