Exif parser code re-organized.