Fix #2816 renaming shared files
Merge pull request #3211 from owncloud/fix-2816

Fix #2816 renaming shared files