gather 1-best translations in an output file