Fix baidu geocoder python 3 compatibility