Set attributes now needs tag_lock write

We may add or remove tags from items with it.
Fix sweep_tags

More confusion over disk vs. cache ids