Don't rely on posix semaphors, instead rely on mkdir(2)'s atomicity