ns_do_applescript: retain NSString
Crash while parsing/executing the AS code could be caused by
the NSString getting released during execution (unclear why).
Protect against that possibility.