Fixed resized image's marker.

When exif exists, APP0 marker is removed and exif is inserted.