fixes #26088 in https://github.com/nim-lang/Nim/pull/25772, `beginStores` requires `newLen` to be passed for setting up the new length. So `streams.nim` must make the string length exactly newLen.
winlean