Fix for "invalid characters in path" when using browser

If a route returned a model of a type who's full type name
contains characters that aren't valid path characters (e.g.
anything with generics), and the view processor was selected,
then the view locator would blow up with invalid characters in
path.