fix getVersions(), we need to get the correct user and filename
Merge pull request #1827 from owncloud/fix_getVersions

fix getVersions(), we need to get the correct user and filename