Avro index saving bug fixed