Improved rename

Made it more thorough and use the new InodeFolder structure.