handle bad utf in urls better.