fix pyflakes check on py3

and ignore gevent/util_py2.py