fixes dropbox upload issue, where dropbox was getting only a subset of the full file