Create streams from read/write functions