Avoid undesirable must_use
Writing files in Rust