Bugfix in `Yajl::Encoder.encode`. Could not write to an IO object.