Refine some codes in Tools.dumpBytes()

Signed-off-by: 核心力量 <kernelforce@gmail.com>