- fixed a bug in bencode.py that caused output not to be bytes