Fix index_files ivar warning

Fix the index_files instance variable deprecation warning.
Merge pull request #225 from chrisdambrosio/patch-1

Fix index_files ivar warning