Fix index file extension