properly write the pid (not 0) to the pidfile in single fork mode (GH#49)
Merge pull request #49 from karenetheridge/topic/single_fork_pid

properly write the pid (not 0) to the pidfile in single fork mode (GH#49)