add url-encoding to various path fragments of webdriver requests