Escape special characters when preparing arguments

Double quotes `"` and backslashes `\` need to be escaped when sending string arguments.

I am not familiar enough with the testing libraries you have used to write tests for this, unfortunately. I am still fairly new to Haskell. If you could point me at some useful documentation and how you would like it done I'll have a go at writing tests.

Fixes #83