Log overwriting of metadata files

Gives more info for cases like #2641