pid file should default to the shared pids directory

(supercedes #67)