Fixed formatter use documentation.

I changed the documentation examples where `write!( f, ... )` is used to `write!( f.buf, ... )` since `io::Formatter` doesn't actually implement `io::Writer`, but `Formatter.buf` does.