Fix wrong file storage behavior.

If you create a file with  tags [A,B], then remove it, then re-create with the same key, but with other tags [C,D], it has tags [A,B,C,D].