Error if writing a wallet fails during privkey import.