[z1939] Make binary_extracting scripts compatible to bourne shell. Thanks to nighoo for pointing

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
Signed-off-by: Nighoo <nighoo@gmail.com>

(based on commit [s1526] - 4dd5499)