use shlex.split on editor hooks on Windows

pipes.quote uses single-quotes, which is wrong on Windows. But the grouping is still correct after shlex.split.

closes #4822


An alternative would be to use a cmd list, and not do any quoting.