postpone stdout/stderr redirect until after argparse