stream: fix crashing on non v0.11 node
1.17.22