beautifygraph: use sysstr for checking encoding._wide

Authored by durin42.

Description

beautifygraph: use sysstr for checking encoding._wide

skip-blame just an r prefix

Differential Revision: https://phab.mercurial-scm.org/D4245

Details