Yet more bugs in FilesInFoldersIterator

Again occurring at the end of the iteration.
Fix a bug with respect to stripping out RT markers

Also a typo in log-message and some extra whitespace.