Fix issues found with flake8.