Do not utf8 decode variables that are to be stored in DB, just file names and pathes. Should fix #493