xchat configuration
- fix settings.json.example
- fix generation of setttings.json (write to the correct location!)