Adding MySQLdb.escape_string() to strings