Fixed exit code being swallowed by the psake.cmd script.

The exit code from PowerShell was not being used as the exit code from the psake.cmd script. This update fixes that so that the CMD script will exit with the same code that the PowerShell script exited with.