flake8 fails with F821 for unicode under python 3.4.2

fix for issue https://github.com/docker/docker-py/issues/434