[filebrowser] fix a bug introducted by e64b8f4