properly urlencode '/' in paths

Addresses https://github.com/orchestrate-io/porc/issues/5