Provide `exec` support for cask under Windows

L51: include `\r?` to check for Carriage Return (line-end differences under Windows)
L154: Explicitly call python when looking for path.  This allows Windows to identify script type since it does not support shebang.