Will the of `row.get('location-sms-code')` ever return a non-unicode string, possibly containing encoded non-ascii characters? If it does, then this will crash.