Fix output filename