check for a valid stream before trying to access the fileno
check for a valid stream before trying to access the fileno

traviscross/chibi-scheme,traviscross/chibi-scheme,traviscross/chibi-scheme,traviscross/chibi-scheme