Bug 836109 - speed up jpeg metadata parsing