Adds write_buffer compatible.

'write_buffer' method was added a argument 'io' in rubyzip 1.1.0.
So I think zip-zip needs this compatible implementation like this request.

I requested #5 and rejected it.
I adds codes for rubyzip 1.0.x and test.
I tested rubyzip 1.0.0 and 1.1.2.