Escapes forward slash in key tree requests.