Write only dirty root/targets/timestamp/snapshot metadata.