refactored syncDropbox using async waterfall.