Fix #584 unicode string format error, 'string' to u'string'

Fixes #584
This PR fix the bug that happens when change the interface into a unicode language (Janpanese/Chinese). The former version record.py would just crash when meeting this situation.