GUI-427
converted keypair download to use generic file download, pruned old keypair download code