Fix XMLRPC error with Ruby 2.0

see https://www.ruby-forum.com/topic/4412475