Added a fileno function on imgstreams, for polling.