[#197] Refactor downloadZip to be reused by user apps.