Write the peers file immediately on getting an ECDSA key
Workaround NPE when bogus negType advertised