Call this function to generate a cache file after a successful program compilation.
int scriba_SaveCacheFile(pSbProgram pProgram
The function returns zero (SCRIBA_ERROR_SUCCESS) if there was no error.
This does not mean that the cache file was saved. If there is no cache
directory configured doing nothing is success.
Returning any positive error code means that ScriptBasic tried to write a cache file but it could not.