Fix most pyflakes