Python string codec for MySQL's latin1 encoding