cw.c: use standard BUFSIZ instead of our own BUFSIZE, and avoid a heap allocation.