The writer is not passed to encode-stream*, causing a NullPointerException
I'll submit a pull request if this sits for a while, feel silly forking to add two characters.
You're right! I'll fix this immediately.
Okay, I've released 4.0.4 with this issue fixed, thanks for reporting it!