python 3 compatibility

as discussed here: http://support.factual.com/factual/topics/factual_python_driver_and_python_3