provision.sh: add error checking to wget and decompression