[filebrowser] fix a bug that onRefresh is not triggered when upload is finished