selective backport from https://github.com/owncloud/core/pull/4239; don't change etags during initial encryption because the file content doesn't change