Add support for fd redirection.

Syntax for redirecting stdin/stdout/stderr to file:
``file:/path/to/file'' or ``file:relative_path/to/file''

Syntax for redirecting stdin/stdout/stderr to fd:
``fd:fd_number'', where fd_number must be a valid fd