@agorrod, this change is a little tricky and may want to survive even if you don't take the rest of the change.

The dump command dups cursors, which does a raw-format key copy; the metadata file's key is a string but the format includes the trailing nul byte, so I think it should be `strlen(WT_METADATA_URI) + 1`.

I moved the set of the cursor's key outside of this function, but you'll see that I set the length to `strlen + 1`.