Corrected windows scripts to match their shell counterparts.

Applied from incubator-spark:scala-2.10

Author: Martin Tapp <martin.tapp@kronos.com>

Closes #239 from doctapp/scala-2.10 and squashes the following commits:

4b6a983 [Martin Tapp] Corrected windows scripts to match their shell counterparts.