Write pid file even in daemnize mode.