Change: Use new space ID util functions

Changed code to use the new space ID util functions so that everything works with the new spaces ID format.

https://github.com/owncloud/ocis/pull/3648
https://github.com/owncloud/ocis/pull/3669
