Python ctypes-based wrapper of the HTML Tidy library for fixing invalid (X)HTML