Fix dumpprivkeys
Fix export private keys from GUI