Fix python3 flake8 issues.