Fix: Workaround for ir-refine-translate bug where an empty file is written if images cannot be registered.  Empty files are deleted and no meta-data is saved.