`writeBranch` with streams, streams to callbacks.

Implement `writeBranch` using the streaming entry writing functions.

Rework `Transcript` to correctly convert streams errors to callback
errors, I hope, hard to tell if I've managed to capture every possible
error condition.

See #356.
See #355.
See #107.
See #4.