line_exec.py: exec_line(): Flush stdout and stderr

To get rid of buffering in pipes.

95f1e12c-0e3b-11e3-8701-a088b4ddef28