Index file naming based on category and keyword.

When the --category and --keyword filters are used, the index file is
named according to "[category][_][keyword]".