scripts: unicode error fix

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Co-authored-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>