Bugfix: Upload space image

Space image upload failed due to some code changes, this fixed and works as expected again.

https://github.com/owncloud/web/pull/9844
https://github.com/owncloud/web/issues/9839
