Add error handling to the file cache upgrade
Merge pull request #2383 from owncloud/error-handling-upgrade

Add error handling to the file cache upgrade