Patch 1

Essentially I replaced %x[...] with IO.popen. This sends the argument directly to the process, bypassing the shell. Now we don't have to worry about nasty escaping problems.