Fixed bencode encoding bug with long types