This will escape any '/'s in the base_path, which isn't strictly correct (see https://github.com/alphagov/content-store/blob/master/doc/output_examples/routing.md for how routing works in content-store).