Segmentation Fault using gdal with Python 3