Change to downloading pages internally

Uses methods from download.py. Allows the chapter to stay as one
lump rather than splitting into a large number of entries.