Use wfEscapeShellArg() so that the script works correctly when paths contain whitespaces