[s2p] fix bug in helper_convert_outputs.sh script