fix issue with xmp metadata not going back into files when metadata is embeded rather than in a sidecar (like jpeg, tiff, and dng)