Write PID file before calling milter_init