rewrite

fun Path.rewrite(block: Output.() -> Unit)

Create a new file or replace existing one using given output block