added quotes around file paths

`shell_exec` was failing on paths containing spaces