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.
Merge pull request #115 from cleverscale/master

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