delete and restore of versions and share-keys now works
fix restore of the same file name