Use `rawurlencode` since this seems to be expected by cURL

Fixes https://github.com/owncloud/core/pull/11501#issuecomment-58794405
Merge pull request #11528 from owncloud/use-raw-url

Use `rawurlencode` since this seems to be expected by cURL