yaffs direct: Fix error for attempting to rename over a non-empty directory