Fix pep8 errors in libhookkit.py