add support for reading stdin data from a file handle on io3 and related support subs