Fix printing non-ascii chars in --quoted format for nanomsg

A minor mistake basically

The patch is submitted under MIT License