Moved bencoding into metainfo.