Fix mime type returning for "shared with others" files

Use "path" instead of "file_target", as the latter is not always set /
reliable.
Merge pull request #8862 from owncloud/share-overview-fixmimetype

Fix mime type returning for shared with others files