Fixed flake8 warnings in six.py utility