Rename without extension library

We have improved the code for detect correctly if the user moves a folder inside itself.