make binary_to_string as static