Fix output directory bug in docs2harvest.