add test for successful output that is a broken symlink
ocaml: use lexists
additional test to ensure symlink targets are not removed
more lexists
fix deleting old result when rebuilding a symlink to directory