make the deploy work on windows

Hi, Please review this. This is a part of Windows Build. 
Thanks!

Test=Run .\grind.bat deploy, .\grind.bat deploy-test  on my Windows7.

@devoncarew @gaurave