bencode: use int representation of Bencode literals instead
of encoding string to int.