Archive changes to extract_titles.py.
Move to a C-based database accessor.