Bencode files (torrent files) serialization/deserialization