Fix output file name.