Due to addition of $partCount as suffix in filename. Those chapters which have multiple pages are generated without "html" extension. This causes error in kindlegen when converting to prc from epub.
I have done a workaround but it would be great to see it implemented in the class.