[#197] Align downloadZip logic with connect-phonegap.