I believe this is what we'll need...

```
temp_url_options = {
  :scheme => scheme,
  :host => @host,
  :path => object_path_escaped,
  :query => URI.encode_www_form(
    : temp_url_sig => sig,
    : temp_url_expires => expires
  )
}
URI::Generic.build(temp_url_options).to_s
```