[scheduler] Ensure the executionLog path exists before writing to it