Rewrite to use the bin-wrapper module

This heavily cuts down the amount of code. I'm aware that it also removes some of that useful info shown when downloading and extracting too, but I hope that may be ok.