[cloud-sync] - Refactor single download macro logic.