Fix to_lower with unicode text