Emit .bat version of -inplace script on Windows platforms