Use heredoc to make expect script more clear
Merge pull request #2283 from tmc/master

Make mkimage-arch.sh a little more clear