medium: scripts: Handle percent characters in script output (bnc#876882)