changed TMP_DIR in dropbox_uploader. Fixed permissions.