Support -o <outfile> option.