Make Writer::flush a no-op default method

Closes #9126
auto merge of #10180 : alexcrichton/rust/flush-default, r=brson

Closes #9126