SConscript: fix upzip function and add deleteOSes functions.