Fixes #4796 handle unicodedecode errors from dmidecode output