ensure pid file exists