fix error loading EngineConfig

This error only occurred when loading config from path with spaces