Fix some pyflakes failures.
Add vendor to pythonpath.