wget and tmux error fix

* fixed some distros not downloading functions becuase of old
certificates. Added --no-check-certificate to anything wget code
relating to githubusercontent.com
* fixed tmux-error.tmp not being deleted correctly