Add the escapeShellArg function to path

When we have to call external programs, we could need to pass them some arguments.

Let's implement a function to escape these arguments.