[scripts] iso_build.sh: fix log file handling