If the last file with a given tag is untagged, remove the corresponding tag directory.