fix alignment issue in ruby port of hex-dumper