Replace non-printable symbols by dot (.) when printing chain id Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>