Quote the directory and the xargs input

We need to quote both the directory and the output from ag, beacuse xargs is stupid.

When ag supports `-0` argument, we can simply pipe into `xargs -0`, but until then we need to do the quoting manually.

`sed` replaces `'` with `\'`, then we wrap the entire file name with `' '`.