Use utf8 encoding in get_temp_url