Cache: only look for child entires when doing a move operation when moving a folder

This should speed up the moving operation for files when there are a lot of files in the filecache

cc @DeepDiver1975 @MTGap @butonic