Fixes #823

Use `escapeshellarg()` instead of `escapeshellcmd()` for escaping the binary name.