filebrowser: do not leak treepath