add correct owner to pid file