write default pidfile
tweaks
Merge pull request #416 from racker/fixes/write_default_pid

write default pidfile