fix an issue where hk update would fail on windows + go fmt