`io.set_output value` seems not very idiomatic...why not use `io.output = value`?

I'm also not sure about the name `deprecation_io`; it implies that the value given should be an `IO` object, but it looks like it should be a filename.