File index rewrite bug.