count-write Travis-CI

An io::Write wrapper counting the number of bytes written