perfSonar: fix generation of script used to configure perfSonar ports

Fix committed 5 mn too late to be part of #38! Can probably wait next RC as I'm finalizing the troubleshooting of our new 3.4 instance. Seems ok now but better to wait a few hours/days...