Allow string-based output redirection include '>'/'>>'

Modifies `redirect_from_string` to check if the first character of the
string signifies output redirection. If so, the string will be included
as-is, without the ">>" append symbol automatically added. This allows
for the use of output truncation (">" as opposed to ">>") without
resorting to undocumented behavior.