format: replace unprintable bytes with ?

Fixes issue #5.