script to extract an AO3 .epub and create an index.htm from toc.ncx