Fix index name problem on windows, closes #11