Improved RTSynthesis and filestream safety.