public function inCurrentDir(\Closure $closure)
    {
        $old = getcwd();
        $this->_mkdir($this->currentDir());
        chdir($this->currentDir());
        $closure($this);
        chdir($old);
    }