Also use common code in RsyncTask