Made write_pid_file be decoupled from command line parsing.  Also made it not be broken!
Made write_pid_file be decoupled from command line parsing.  Also made it not be broken!

ayumilong/rethinkdb,robertjpayne/rethinkdb,lenstr/rethinkdb,bchavez/rethinkdb,AntouanK/rethinkdb,lenstr/rethinkdb,bchavez/rethinkdb,KSanthanam/rethinkdb,RubenKelevra/rethinkdb,Wilbeibi/rethinkdb,lenstr/rethinkdb,mcanthony/rethinkdb,wkennington/rethinkdb,Qinusty/rethinkdb,Wilbeibi/rethinkdb,niieani/rethinkdb,yakovenkodenis/rethinkdb,wujf/rethinkdb,wojons/rethinkdb,robertjpayne/rethinkdb,ajose01/rethinkdb,catroot/rethinkdb,Qinusty/rethinkdb,wujf/rethinkdb,pap/rethinkdb,spblightadv/rethinkdb,sbusso/rethinkdb,grandquista/rethinkdb,victorbriz/rethinkdb,bchavez/rethinkdb,yakovenkodenis/rethinkdb,JackieXie168/rethinkdb,captainpete/rethinkdb,robertjpayne/rethinkdb,rrampage/rethinkdb,eliangidoni/rethinkdb,sebadiaz/rethinkdb,mquandalle/rethinkdb,mbroadst/rethinkdb,gdi2290/rethinkdb,wkennington/rethinkdb,jesseditson/rethinkdb,alash3al/rethinkdb,wojons/rethinkdb,AtnNn/rethinkdb,catroot/rethinkdb,4talesa/rethinkdb,sbusso/rethinkdb,grandquista/rethinkdb,niieani/rethinkdb,losywee/rethinkdb,jmptrader/rethinkdb,bpradipt/rethinkdb,mbroadst/rethinkdb,captainpete/rethinkdb,Wilbeibi/rethinkdb,ayumilong/rethinkdb,mbroadst/rethinkdb,sebadiaz/rethinkdb,greyhwndz/rethinkdb,dparnell/rethinkdb,tempbottle/rethinkdb,eliangidoni/rethinkdb,sontek/rethinkdb,urandu/rethinkdb,KSanthanam/rethinkdb,Wilbeibi/rethinkdb,JackieXie168/rethinkdb,yakovenkodenis/rethinkdb,mquandalle/rethinkdb,greyhwndz/rethinkdb,yaolinz/rethinkdb,jesseditson/rethinkdb,RubenKelevra/rethinkdb,jmptrader/rethinkdb,grandquista/rethinkdb,sontek/rethinkdb,gavioto/rethinkdb,jmptrader/rethinkdb,mbroadst/rethinkdb,sebadiaz/rethinkdb,urandu/rethinkdb,scripni/rethinkdb,niieani/rethinkdb,captainpete/rethinkdb,sebadiaz/rethinkdb,sbusso/rethinkdb,wojons/rethinkdb,robertjpayne/rethinkdb,mquandalle/rethinkdb,victorbriz/rethinkdb,gdi2290/rethinkdb,yaolinz/rethinkdb,JackieXie168/rethinkdb,marshall007/rethinkdb,4talesa/rethinkdb,sebadiaz/rethinkdb,captainpete/rethinkdb,marshall007/rethinkdb,wujf/rethinkdb,jesseditson/rethinkdb,mbroadst/rethinkdb,rrampage/rethinkdb,spblightadv/rethinkdb,mbroadst/rethinkdb,sontek/rethinkdb,sbusso/rethinkdb,grandquista/rethinkdb,wujf/rethinkdb,elkingtonmcb/rethinkdb,scripni/rethinkdb,alash3al/rethinkdb,greyhwndz/rethinkdb,urandu/rethinkdb,urandu/rethinkdb,yaolinz/rethinkdb,marshall007/rethinkdb,wojons/rethinkdb,mquandalle/rethinkdb,captainpete/rethinkdb,gavioto/rethinkdb,lenstr/rethinkdb,Qinusty/rethinkdb,catroot/rethinkdb,dparnell/rethinkdb,yakovenkodenis/rethinkdb,wkennington/rethinkdb,scripni/rethinkdb,greyhwndz/rethinkdb,grandquista/rethinkdb,mcanthony/rethinkdb,scripni/rethinkdb,wojons/rethinkdb,gdi2290/rethinkdb,losywee/rethinkdb,mbroadst/rethinkdb,eliangidoni/rethinkdb,niieani/rethinkdb,KSanthanam/rethinkdb,pap/rethinkdb,catroot/rethinkdb,ayumilong/rethinkdb,urandu/rethinkdb,rrampage/rethinkdb,bpradipt/rethinkdb,AntouanK/rethinkdb,losywee/rethinkdb,AntouanK/rethinkdb,sebadiaz/rethinkdb,pap/rethinkdb,4talesa/rethinkdb,bpradipt/rethinkdb,gavioto/rethinkdb,matthaywardwebdesign/rethinkdb,sbusso/rethinkdb,AntouanK/rethinkdb,victorbriz/rethinkdb,RubenKelevra/rethinkdb,yaolinz/rethinkdb,dparnell/rethinkdb,sbusso/rethinkdb,AtnNn/rethinkdb,lenstr/rethinkdb,yakovenkodenis/rethinkdb,Qinusty/rethinkdb,scripni/rethinkdb,marshall007/rethinkdb,gavioto/rethinkdb,grandquista/rethinkdb,niieani/rethinkdb,KSanthanam/rethinkdb,catroot/rethinkdb,victorbriz/rethinkdb,catroot/rethinkdb,AtnNn/rethinkdb,ajose01/rethinkdb,gdi2290/rethinkdb,victorbriz/rethinkdb,bchavez/rethinkdb,urandu/rethinkdb,bpradipt/rethinkdb,gdi2290/rethinkdb,matthaywardwebdesign/rethinkdb,jmptrader/rethinkdb,eliangidoni/rethinkdb,matthaywardwebdesign/rethinkdb,sebadiaz/rethinkdb,rrampage/rethinkdb,robertjpayne/rethinkdb,bchavez/rethinkdb,sontek/rethinkdb,KSanthanam/rethinkdb,AtnNn/rethinkdb,tempbottle/rethinkdb,spblightadv/rethinkdb,captainpete/rethinkdb,grandquista/rethinkdb,Wilbeibi/rethinkdb,alash3al/rethinkdb,matthaywardwebdesign/rethinkdb,4talesa/rethinkdb,gavioto/rethinkdb,tempbottle/rethinkdb,jmptrader/rethinkdb,urandu/rethinkdb,bpradipt/rethinkdb,dparnell/rethinkdb,RubenKelevra/rethinkdb,sbusso/rethinkdb,tempbottle/rethinkdb,pap/rethinkdb,JackieXie168/rethinkdb,ajose01/rethinkdb,bpradipt/rethinkdb,robertjpayne/rethinkdb,captainpete/rethinkdb,yakovenkodenis/rethinkdb,marshall007/rethinkdb,eliangidoni/rethinkdb,tempbottle/rethinkdb,jesseditson/rethinkdb,wujf/rethinkdb,Qinusty/rethinkdb,losywee/rethinkdb,JackieXie168/rethinkdb,Wilbeibi/rethinkdb,JackieXie168/rethinkdb,alash3al/rethinkdb,mquandalle/rethinkdb,grandquista/rethinkdb,matthaywardwebdesign/rethinkdb,captainpete/rethinkdb,elkingtonmcb/rethinkdb,wkennington/rethinkdb,JackieXie168/rethinkdb,sebadiaz/rethinkdb,ajose01/rethinkdb,yaolinz/rethinkdb,RubenKelevra/rethinkdb,RubenKelevra/rethinkdb,sontek/rethinkdb,wojons/rethinkdb,RubenKelevra/rethinkdb,wojons/rethinkdb,mquandalle/rethinkdb,sontek/rethinkdb,robertjpayne/rethinkdb,ayumilong/rethinkdb,wkennington/rethinkdb,elkingtonmcb/rethinkdb,wujf/rethinkdb,ajose01/rethinkdb,alash3al/rethinkdb,bchavez/rethinkdb,KSanthanam/rethinkdb,ayumilong/rethinkdb,ayumilong/rethinkdb,ayumilong/rethinkdb,AntouanK/rethinkdb,rrampage/rethinkdb,yaolinz/rethinkdb,scripni/rethinkdb,pap/rethinkdb,wkennington/rethinkdb,pap/rethinkdb,victorbriz/rethinkdb,eliangidoni/rethinkdb,sontek/rethinkdb,AntouanK/rethinkdb,dparnell/rethinkdb,jesseditson/rethinkdb,wujf/rethinkdb,tempbottle/rethinkdb,niieani/rethinkdb,mcanthony/rethinkdb,elkingtonmcb/rethinkdb,gdi2290/rethinkdb,eliangidoni/rethinkdb,4talesa/rethinkdb,gdi2290/rethinkdb,gavioto/rethinkdb,sbusso/rethinkdb,mcanthony/rethinkdb,lenstr/rethinkdb,ajose01/rethinkdb,4talesa/rethinkdb,catroot/rethinkdb,AtnNn/rethinkdb,mcanthony/rethinkdb,greyhwndz/rethinkdb,wojons/rethinkdb,JackieXie168/rethinkdb,dparnell/rethinkdb,niieani/rethinkdb,KSanthanam/rethinkdb,bchavez/rethinkdb,jesseditson/rethinkdb,AntouanK/rethinkdb,Wilbeibi/rethinkdb,JackieXie168/rethinkdb,grandquista/rethinkdb,jesseditson/rethinkdb,elkingtonmcb/rethinkdb,greyhwndz/rethinkdb,jmptrader/rethinkdb,jmptrader/rethinkdb,AtnNn/rethinkdb,elkingtonmcb/rethinkdb,bpradipt/rethinkdb,scripni/rethinkdb,victorbriz/rethinkdb,Qinusty/rethinkdb,robertjpayne/rethinkdb,marshall007/rethinkdb,alash3al/rethinkdb,gavioto/rethinkdb,losywee/rethinkdb,robertjpayne/rethinkdb,dparnell/rethinkdb,marshall007/rethinkdb,yakovenkodenis/rethinkdb,elkingtonmcb/rethinkdb,dparnell/rethinkdb,yakovenkodenis/rethinkdb,alash3al/rethinkdb,lenstr/rethinkdb,RubenKelevra/rethinkdb,sontek/rethinkdb,victorbriz/rethinkdb,eliangidoni/rethinkdb,mbroadst/rethinkdb,spblightadv/rethinkdb,mcanthony/rethinkdb,spblightadv/rethinkdb,mquandalle/rethinkdb,mcanthony/rethinkdb,jmptrader/rethinkdb,ajose01/rethinkdb,mquandalle/rethinkdb,eliangidoni/rethinkdb,spblightadv/rethinkdb,Wilbeibi/rethinkdb,bchavez/rethinkdb,ajose01/rethinkdb,mcanthony/rethinkdb,scripni/rethinkdb,losywee/rethinkdb,Qinusty/rethinkdb,spblightadv/rethinkdb,yaolinz/rethinkdb,lenstr/rethinkdb,Qinusty/rethinkdb,dparnell/rethinkdb,bpradipt/rethinkdb,rrampage/rethinkdb,rrampage/rethinkdb,AtnNn/rethinkdb,matthaywardwebdesign/rethinkdb,niieani/rethinkdb,tempbottle/rethinkdb,4talesa/rethinkdb,wkennington/rethinkdb,greyhwndz/rethinkdb,KSanthanam/rethinkdb,AntouanK/rethinkdb,tempbottle/rethinkdb,greyhwndz/rethinkdb,AtnNn/rethinkdb,wkennington/rethinkdb,Qinusty/rethinkdb,catroot/rethinkdb,bchavez/rethinkdb,matthaywardwebdesign/rethinkdb,pap/rethinkdb,4talesa/rethinkdb,losywee/rethinkdb,bpradipt/rethinkdb,ayumilong/rethinkdb,pap/rethinkdb,losywee/rethinkdb,urandu/rethinkdb,matthaywardwebdesign/rethinkdb,spblightadv/rethinkdb,alash3al/rethinkdb,mbroadst/rethinkdb,rrampage/rethinkdb,elkingtonmcb/rethinkdb,yaolinz/rethinkdb,gavioto/rethinkdb,jesseditson/rethinkdb,marshall007/rethinkdb