def __init__(self, path):
        self.path = path
        self.body_labels = collections.OrderedDict()
def _pad(self, s):
        return s + (self.bs - len(s) % self.bs) * chr(self.bs - len(s) % self.bs)