Make beanstalkc work on python3