Create directory for pid file