From a quick glance at the source code it seems that the existing WasmWasi code already does all path-related I/O operations using file descriptors. But the implementation is private so it can't be extended. However it seems like it would be easy to reuse the existing code for a new property that provides a Sink/Source tied to the stdout/stdin file descriptors.