make LRStream saveable
added checks to all RStream's return values, it compiles now too