tests: use pyflakes module instead of pyflakes executable
This ensures that pyflakes is run under the correct Python version.
This instance was upgraded to Heptapod 17.6.0rc1 today
This ensures that pyflakes is run under the correct Python version.