[book] To generate a chapter,let's first fully erase it

We can not assume that the new chapter will have the same number of
sections. So to be sure to only save the section from it, first,
we delete everything.
 
I have never developped with rake, so even if it seems to work, please carefully review this commit.