Fix to copy-paste error: resource-using IO-Streams should use
IO-versions of functional interfaces instead of their equivalent but
more generic base class versions.

Signed-off-by: Timo Kinnunen <timo.kinnunen@gmail.com>