Handle broken symlinks when overwriting.