Save settings to external file