Use shellescape when embedding data into commands.

Prevent potential command injection via the `key_id` and `homedir` arguments passed to `Gem::OpenPGP.detach_sign` by using [Shellwords#shellescape](http://rubydoc.info/stdlib/shellwords/Shellwords#shellescape-class_method).