Renaming file and folders support

Seems to work for both own files/folders and shared folder files/folders.