Unicode error fix

Fixed Unicode decode error when application is launched from patch which contains non-ascii chars:
e.g. /home/milan/Programování/Tovian_git

Error affects both Windows and Linux.