[filebrowser] remove getdownloaddir function since it is not needed anywhere