A bencode serialiser for those who don't like crashes.