Revised EPUB handling to accommodate new generate.root.chunk param.