Fix EventLogger if there is a space in path to binary

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.