improve avro dump to make it try more file types