Change extension of index file