mavtomfile: avoid loss of precision in data fields.
Merge pull request #277 from mday299/mav_to_m_file_precision

mavtomfile: avoid loss of precision in data fields.