Fix broken symlink issue.

Broken symlinks would attempt to create a new symlink and fail because
the file already exists. Changed code to remove broken symlinks.