CLI: prevent XMP file overriding
Merge pull request #686 from LebedevRI/cli-prevent-xmp-overwrite

CLI: prevent XMP file overriding