libs/core: rework luci.util.pcdata() to also escape ascii control chars