Use rawurlencode for RFC 3986 encoding of spaces