Move Hex2bin to external tool