runCatchingIo
fun <T> Path.runCatchingIo(block: Path.() -> T): IoResult<T>
Executes the given block and catches IOExceptions.