AVRO-526. Fall back to pure Python StringIO if cStringIO is not available (hammer via Esteve Fernandez)