Pass `FilesystemIterator::SKIP_DOTS` flag to the later `RecursiveDirectoryIterator` is better.