Fix bencode string decoder implementation