Make the pid file directory