test index file not being generated correctly for windows