Improves bencode: adds raw bencode saving to unmarshal, and implements marshalling.