Superclass BencodeWriter extracted from BencodePrinter