AVRO-1258. Ruby: Fix handing of RPC errors.  Contributed by Martin Kleppmann.

git-svn-id: https://svn.apache.org/repos/asf/avro/trunk@1447958 13f79535-47bb-0310-9956-ffa450edef68