works with OC 5.0.9, bugfixes

- works now with OC 5.0.9
- fixed bug if folder has spaces in name
- fixed bug if shared folder is in subdirectory