Fix error on deleting directories

Error was happening at the next iteration of the `foreach`, after having had deleted a dir. The Finder fails inside its [Iterator](http://www.php.net/manual/en/class.iterator.php) implementation because it is trying to access a nonexistent dir.
Merge pull request #13 from vlakoff/patch-1

Fix error on deleting directories