Francois Gouget : testbot/lib: Add a utility function to atomically create a new directory.