hmm, indeed. I think it should be reported as a PHP bug though, as it means that ``new RecursiveDirectoryIterator('/tmp', RecursiveDirectoryIterator::CURRENT_AS_PATHNAME)`` is a broken implementation of RecursiveIterator