Fix errors found by pyflakes

Signed-off-by: Josh Durgin <josh.durgin@inktank.com>