Update Travis builder

Better flake8 config, work around Windows bug
(https://bitbucket.org/tarek/flake8/issue/153/broken-on-windows-since-22)