stream: use ._flush on 0.8
1.16.5