File "/tmp/.mount_electrHK0grH/usr/lib/python3.6/site-packages/electrum/util.py", line 855, in run_with_except_hook
    run_original(*args2, **kwargs2)
  File "/tmp/.mount_electrHK0grH/usr/lib/python3.6/threading.py", line 864, in run
    self._target(*self._args, **self._kwargs)
  File "/tmp/.mount_electrHK0grH/usr/lib/python3.6/site-packages/electrum/base_wizard.py", line 622, in task
    self.wallet.storage.write()
  File "/tmp/.mount_electrHK0grH/usr/lib/python3.6/site-packages/electrum/util.py", line 367, in <lambda>
    return lambda *args, **kw_args: do_profile(args, kw_args)
  File "/tmp/.mount_electrHK0grH/usr/lib/python3.6/site-packages/electrum/util.py", line 363, in do_profile
    o = func(*args, **kw_args)
  File "/tmp/.mount_electrHK0grH/usr/lib/python3.6/site-packages/electrum/storage.py", line 122, in write
    self._write()
  File "/tmp/.mount_electrHK0grH/usr/lib/python3.6/site-packages/electrum/storage.py", line 134, in _write
    with open(temp_path, "w", encoding='utf-8') as f: