fix handling of non-ascii string formatting

Fix UnicodeDecode exceptions when dealing with non-ascii first/last names