Import streams and I/O primitives from ShenRuby