SphinxSearch converted the sphinxapi.py from Python 2 to Python 3 compatible