protected function tmpDirectory()
    {
        $this->tmpFile();
        unlink($this->temp);
        $this->temp .= '.d';

        if (mkdir($this->temp) === false)
        {
            throw new Rah_Eien_Exception('Unable to create a temporary directory, check the configured tmp directory.');
        }
    }