use oc filesystem operations to calc the versions size. This makes sure that we can handle missing directories correctly
remove unused variable
Merge branch 'master' into calc_version_size
Merge pull request #5937 from owncloud/calc_version_size

use oc filesystem operations to calc the versions size