code: def save(self, path):
          
  
          data = self.encode()
  
          with open(path, "wb") as out:
              out.write(data)
docs: Save a binary copy of this report
  
          Args:
              path (string): The path where we should save the binary copy of the report