Fixes most of the fixable flake8 problems.