REST api to compute a bucket's subdir given a name.

This replaces the (already deleted) bucketpath tool.

One downside of this approach is that the server must be running
in order to compute the bucket subdir.