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