Fix corner case on implementations that return a :bidir-stream but no :input-stream. Also test and fix support for :error-output :output.