raise UnsupportedOperation on iostream.fileno()

closes #3017
Merge pull request #3072 from minrk/streamfileno

raise UnsupportedOperation on iostream.fileno()