Returns a filename to be used for script output.

def eval(self):
        """ Returns a filename to be used for script output. """
        if self.magic:
            return self.magic
        if not self.filename:
            return file_pattern.format(self.alias, self.ext)
        return self.path