Improved config save error handling