Fix EventLogger if space in path

The path to the eventlogger binary was not escaped and therefore if
there was a space in the path to it, then it would fail.