Dropbox and Google Drive upload problems fixed.

Updated sync code and chunk uploader code.