Support windows

Hi,

Thanks for making this convenient tool! I need to deploy it on a windows machine and found that "go get" doesn't work. So I spent some time to get it work with windows. And I run "go fmt" with latest go release.

Feel free to integrate my changes in your repository.

Thanks.