Adjust the CLIP API for some tools to use an output file rather than a directory.