Index regeneration crashes if index folder isn't removed

To prevent this error on second build :

error: No such file or directory - /path/to/jekyll/site/test.idx/segments_1.