fixed the type definitions for Writer Iteratee so that it returns the last number of bytes written