Bugfix in `Yajl::Encoder.encode`: could not write to an IO object which does not respond to :read. `Yajl::Encoder.new.encode` does not have the bug.