dump all footnotes to a separate file