Fix warning: Variable access via 'index_files' is deprecated.

 Use '@index_files' instead.