'Return the directory in which are persisted the result
of the function called with the given arguments.'

def _get_output_dir(self, *args, **kwargs):

    argument_hash = self._get_argument_hash(*args, **kwargs)
    output_dir = os.path.join(self._get_func_dir(self.func), argument_hash)
    return (output_dir, argument_hash)
