refactor(dropbox) uploadFile