luci-base: improve string format error reporting