only update file cache with the unenecrypted size when the file was written
Merge pull request #6916 from owncloud/encryption_update_filecache

[encryption] update file cache after the file was written