luci-0.9: flush stdout during sysupgrade