Un-break log and pid file path creation, which I broke a few commits back.