Use
[vbld_EscapeString(vbld_GetFileContents("%TEMP%\tes t.sql"))]
in the Set Macro step so that the macro value gets stored with special VBP chars escaped.
http://www.visualbuild.com/Manual/sysscriptmisc.htm
http://www.visualbuild.com/Manual/specialchars.htm