quote hax for subprocess

Noticed the shell execution would fail with spaces/other chars that
weren't escaped -i.e. couldn't find the path to the file.