ucpf::utils::ubb: convert bin2cstr utility to perl.

Signed-off-by: Alex Dubov <oakad@yahoo.com>