anidb: rename SaveCurrentTitles to DumpTitles, convert to function

It's part of the Dump family of functions, and doesn't actually need any
data from an AniDB struct.