Fix encoding issue with the latest genshi.