[tagsistant] Handle tagging of directories