Escape special characters when preparing arguments

Double quotes `"` and backslashes `\` need to be escaped when sending
string arguments.

Fixes #83