mavtomfile: Now can handle array fields.
Merge pull request #267 from mday299/mavtomfile_fix

mavtomfile: Now can handle array fields.