Create temporary directory handler.