Update uses of write!() for latest version of rust.
Update uses of write!() for latest version of rust.