Fixed an issue with trying to create a symlink that already exists.
Made it so that the modtime caches are always written, even if a build error occurred. This is so the suff that was successfully built does not need to be rebuilt when the error is resolved.