Unicode chars in localtime prevented the gui from starting

Tried to run the app on ubuntu with ru_RU.utf-8 locale. The gui failed to start with unicode decode errors. Looks like on my locale the localtime string had non-ascii characters in it. Added the missing 'utf-8' parameter to all instances of unicode() that didn't have them.