Update HgExe.java

On Windows wrap hg.exe with CMD.exe to support expension of build variables.