Right, forgot the original is also a DNG.
Metadata handling is indeed an issue on Windows (where the filesystem is not case-sensitive). I keep forgetting about this one, because on Linux the input files are lower-case .dng, and output files are upper-case .DNG, so there are no problems about overwriting files...