have you tried escaping the '>' (stream redirection) character ?

eg  ^>   or   %>