Network prefs: save interfaces to file.

Fixes #11496.