Make rename behavior consistent with files app

Rename documents like Files app does it for shared files.