Using Mutexes to serialize Mkdirs.