support multi-process mkdir call