Create pid directory