config: Introduce functions to write non-standard file