fun Path.writeText(text: String, charset: Charset = Charsets.UTF_8): Unit
Delegates to kotlin.io.writeText.