Set correct paths for uploadprogress tmp.