Adding bare functionality for creating the temporary directory.