Fixed generating of unicode appdata files

Signed-off-by: Michal Čihař <michal@cihar.com>