Channel: Fix writeTo()