Replaced call to deprecated binary_to_list