[backend] mark files in ddir hash when linking old deltaids to new ids