Fix miscalculation of EXIF data length