Mime: Store mimes as array.
Image, HTML5: Save and restore all APPn markers present in original JPEG.
Image, HTML5: Separate header stripping logic into a method.

Until now it was not possible to strip off headers, without writing
them back.