When the expected metadata does not match the produced metadata, write the latter to `/tmp` for closer inspection; additionally this should help update the metadata file in case the changes are expected.