AVRO-851. Java: Fix a bug in GenericData#toString() when escaping characters. Contributed by Jeff Mesnil.