Minor changes.

Reset exception to return response object, fix unicode error in XML handler.