Move pidfile into configuration object, overridden at each run.