py3: only flush before prompting during interactive patch filtering
Follows up on
c9093ae8d6c4. It's enough to flush just before each
prompt.
py3: add a missing b'' prefix in test extension for chg
Differential Revision: https://phab.mercurial-scm.org/D7038