Don't blow up when uploading unicode

When uploading a location with unicode in the name, having any error messages would cause the uploader to crash.