Add ability to write to pid file in /tmp