lit: Support '>>' redirections when executing scripts internally.