This is the same change as in MetadataParser.js.  Don't allow arbitrarily large jpegs.