Update places that call UriUtils to catch the right exception that is now raised as a result of using Charet.forName.