squash! rebaser: support Windows

Also, on Windows rebase -i's "exec" command cannot handle shell scripts
gracefully.