Generating chapters xhtml with the same name correctly.