Create PID file on initial starting.