std.process: Improve shell escaping on Windows (issue 10863)