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

It looks liek the workers are managing to all acquire the semaphor.

This ports it to assume mkdir(2) is atomic. Which it is in C