Moved hex2bin to utils