public function dir_opendir($path, $options = 0)
    {
        if ($this->dirHandle !== null) {
            return false;
        }
        self::restore();
        $path = self::overlayPath($path);
        $this->dirHandle = opendir($path);
        self::register();
        return $this->dirHandle !== false;
    }