Fix bug in amqpcat.