Remove symlinks if they already exist.
Don't generate files with the same name as the index.