Replace `write_config_to_file` method with `write(file_format='ini')`
The purpose of this MR is to replace the write_config_to_file
method with the io.write
method.
The purpose of this MR is to replace the write_config_to_file
method with the io.write
method.