Fix escape_once double-escaping hex-encoded entities