- added assertion to alert if bencode is returning non-bytes values