make sure HTMLPurifier cache folders exist