*: use TeeReader to reduce I/O in CAS

Change LimitedReadWriter to LimitedWriter to reflect code