Remove redundant call to Shellwords.escape

The "edit" command already intelligently escapes arguments, if need.
This commit also fixes four failing tests on Windows.