curl: Replace spaces in URIs with %20