raise UnsupportedOperation on iostream.fileno()

closes #3017