Thanks for replying Steve. I appreciate all of the work you do make rust accessible to new programmers.
Don't mind the downvotes as I just wrote from vague memory without properly verifying things.
I tried to look through my Google history to see how I landed into that specific problem. But was not able to find out how exactly I landed on that syntax issue about writing files. If it helps here is my chronological Google Search and visit history on that day about how I finally went from "try" macro to understanding how "?" operator is used in Rust.
* Searched for "try macro rust"
* Visited "std::try! - Rust"
* Visited "Learning to 'try!' things in Rust - Jonathan Turner"
* Searched for "rust expected expression, found reserved keyword `try`"
* Visited "Try keyword reservation breaks macro try - The Rust Programming ..."
* Searched for "rust try macro removed"
* Visited "Error Handling - The Rust Programming Language"
* Visited "How to use ? and catch in Rust? - Stack Overflow"
* Searched for "rust optional unwrapping"
* Visited "What is unwrap in Rust, and what is it used for? - Stack Overflow"
* Visited "Killing unwrap() • Dimitri Merejkowsky - dmerej.info"
* Searched for "rust ? operator"
* Visited "The ? operator for easier error handling - The Edition Guide"