Add polyutils sanitize, stolen from quantum