Fix geoip for py3.