code: def build_filename(self, binary):
          
          try:
              # Get exact timestamp of the build to build the local file name
              folder = self.builds[self.build_index]
              timestamp = re.search(r'([\d\-]+)-\D.*', folder).group(1)
          except Exception:
              # If it's not available use the build's date
              timestamp = self.date.strftime('%Y-%m-%d')
  
          return '%(TIMESTAMP)s-%(BRANCH)s-%(NAME)s' % {
              'TIMESTAMP': timestamp,
              'BRANCH': self.branch,
              'NAME': binary}
docs: Return the proposed filename with extension for the binary.