Fix a bug with treeview trailing slash
Merge pull request #284 from twosigma/dev-file-dialogs

Fix a bug with treeview trailing slash