don't overwrite keys if rename was done by a stream copy
add test case if a file gets moved out from the shared folder
Merge pull request #7374 from owncloud/enc_dont_overwrite_keys

[encryption] don't overwrite keys if rename was done by a stream copy