Fixed final thread safe folder creation bug