clean up deleted files in cookbooks we synch

this also fixes bugs where dotfiles would be missed
in loops that search through the file cache.