Fix bashisms in image.sh shell scripts

Replace '&>/dev/null' output redirections to '>/dev/null 2>&1'.