Improve Unicode support in ExecuteShellCommand.