Close FileHandle at the end in CreateIndex