Writes the files into a temporary sibling directory (.<name>.<random>), then atomically moves it over into. Writes are serialized process-wide.
.<name>.<random>