Add save-key command and fix crash.

Previously if one attempted to download a detachment that wasn't
uploaded then the CLI would crash. This change fixes that and also adds
the save-key command to just save a key to disk. The decrypt utility, in
this repository, can be used to decrypt with the key.