writeTo

fun writeTo(out: Appendable)
fun writeTo(directory: Path)
fun writeTo(directory: File)

Writes this to directory as UTF-8 using the standard directory structure.