set

fun set(path: String, value: Any?)

Sets path to value and saves the file immediately.