/*
 * call-seq:
 *    putc(num)
 *
 * Write one byte into this stream.
 * @param [Integer] num the number value of the character to write
 * @return [Integer] always 1
 * @raise [IOError] if the stream has been closed
 */
static VALUE bz_writer_putc(VALUE obj, VALUE a) {