Update recursive-directory-iterator.php

`isDot()` is a `DirectoryIterator` method ($files) an not from SplFileInfo ($file) 

http://php.net/manual/en/class.splfileinfo.php
http://php.net/manual/en/class.directoryiterator.php