Allow registering on write transform stream with `#registerTransformStream()`

Fix #691