fix XMLRPC error with Ruby 2.0

* from PR #6 by @darthwiz
* see https://bugs.ruby-lang.org/issues/8182