replace histos by dataset in outputfile name