Make the setdir command work for nodes as well as clusters

The blog post depends on this, I wonder if we should delay the post just long enough to merge it.