Dropbox upload by revision

Added rev support so xml export will replace file instead of create a
new one each time.