Remove bin_to_hex function and replace with Rex::Text.to_hex