sys.stdout.flush() to avoid broken line.

See https://gitlab.com/pycqa/flake8/issues/17