touch file relative to users file folder, otherwise the hooks will be ignored
update etag for for the touched file
rename a file if it gets restored so that it no longer exists as a version. Otherwise it can happen that the expire() function removes all other versions so that we end up with only one version which is exactly the same as the original file
don't call correctFolder() in touchHook, it will be called later in the writeUpdate()
Merge pull request #3282 from owncloud/fix_etag_update

Fix etag update