*: use TeeReader to reduce I/O in CAS

@brosner ack, my mistake - my testing must have been totally broken :-(. Fixed now.