always return original error after install failure
cleanup oldExecPath
fix an issue where hk update would fail on windows + go fmt