for hg-serve.sh on win7