Use six.callable for compatibility with Python 3.1

I think this will resolve the Jenkins failures.