Update geminabox.rb

Change tempfile in atomic_write to binary mode