make the deploy work on windows

Hi, Please review this. Thanks!

Test=Run .\grind.bat deploy, .\grind.bat deploy-test  on my Windows7.

@devoncarew @gaurave