create the directory for our pid file if it does not exist