Fix output filename for single file generation