installer: add ability to automatically save generated config.php