Write dirty wallet to disk if a change address is added.