Fix Rakefile to update .index file.