After the SCS/SCZ files have been generated, you can call the function:
std::filesystem::remove_all(file_path_string.c_str());
OR
std::experimental::filesystem::remove_all(file_path_string.c_str());
Calling this function will delete all the contents of the Stream Cache folder (including the folder itself). More information about the function can be found here.