Correct the Cache Scanner so that it doesn't try and scan subdirs of a non-dir path when renaming 

The Scanner trying to scan sub-files of a non-dir file leaves some bad logs...

https://github.com/TheSFReader/core/commit/42d59d5a1658dde5d428ae855de524411c311048