split into one file per chapter

Signed-off-by: Mattias Andrée <maandree@operamail.com>