Experimenting with more structured ways to handle command-line input/output in Rust

Refactor `Localize` trait to use `std::io::Write`

Most of the changes are "noise" - the refactor touched most parts of the codebase. The main change is that instead of returning the output of format!, the generated code now calls writer.write_all() and returns an empty Ok(()) on success. This should make things a bit cleaner and hopefully reduce the amount of unncecessary allocation at compile-time.

Created by  finchie  on August 26, 2024
3NMKD6I57ONAGHEN4PZIAV2KPYESVR4JL3DTWSHXKCMVJBEQ4GIQC
Change contents