Place downloading of package files into its own function.
Place downloading of package files into its own function.

This will make it easier to make it more robust by trying various urls
if one compression format is not supported (anymore).

kolargol/raspbian-ua-netinst,Zspark23/raspbian-ua-netinst-1,Zeerix/raspbian-ua-netinst,racing-tech/rrp-raspi-installer,Zspark23/raspbian-ua-netinst-1,racing-tech/rrp-raspi-installer,FooDeas/raspberrypi-ua-netinst,cybercircuits/raspbian-ua-netinst,Zspark23/raspbian-ua-netinst-1,krazedkrish/Web-Pro-ua-netinst,beylsp/rpi-installer,firepick/FireHawk,bbinet/raspbian-ua-netinst,Zspark23/raspbian-ua-netinst,malsony/raspbian-ua-netinst,matt2005/raspbian-ua-netinst,daytonpid/FireHawk,yodaaut/raspbian-ua-netinst,jturner314/raspbian-ua-netinst,beylsp/rpi-installer,dicer/raspbian-ua-netinst