Support Windows when not using backtick execution

Fixes https://github.com/jekyll/jekyll/issues/2556

/cc @piki