Rewrite I/O to use RtioFileStream directly instead of the higher level wrappers.