fix unicode problem with pycurl