CLI: prevent XMP file overriding

Fixes bugreport in dt-dev from Joerg Beyer