Use URI.join to join URIs.