code: def save(self, path=DEFAULT_OUTPUT_PATH, filename=DEFAULT_FILENAME):
          
  
          # Creates a path when it does not exist.
          if not os.path.exists(path):
              os.makedirs(path)
  
          # Cut the .png file ending if one was omitted.
          if filename[-4:] == ".png":
              filename = filename[:-4]
  
          # Saves the image under the given filepath.
          filepath = ("%s%s.png" % (path, filename))
          filepath = os.path.join(path, "%s.png" % filename)
          # FIXIT: filepath without SUFFIX, print writes false filename
          print ("Saving: %s" % filepath)
          self.img.save(filepath, 'PNG')
docs: Saves a avatar under the given output path to
          a given filename. The file ending ".png" is appended
          automatically. If the path does not exist, it will be
          created. When no parameters are omitted, a default path
          and/or filename will be used.