Always write root/targets metadata, dirty or not.