fixing deploy_war function on windows
Merge pull request #6275 from ranl/develop

fixing deploy_war function on windows
One more fix to the `win_repo` module.