code: def filename_complete(self, text, line, begidx, endidx):
          
          try:
              return self.real_filename_complete(text, line, begidx, endidx)
          except:
              traceback.print_exc()
docs: Wrapper for catching exceptions since cmd seems to silently
             absorb them.