Add a utility to create a temporary directory.