[scripts] Send correctly encoded output names.