expose read/write streams