Use camelCase.
Provide a template to mktemp.

This makes it clear that the tempfile belongs to braid, if it
happens to fail to be deleted, for example.
Put parameters in the same order for dump and restore.