bugfix for rename and delete functions of FileTreeView/TreeList