Fix outfile cmdlet.