The code after here (in MCS_get_session_save_path) isn't quite correct... The old code would get the temporary folder into s_session_temp_dir after here (since it is nil). Thus following this should be:
```
if (MCS_get_temporay_folder(s_session_temp_dir))
{
  r_path = MCValueRetain(s_session_temp_dir);
  return true;
}
```