fix broken UTF-8 in PUT requests for Ruby 1.9.3-p192