Removed binary_to_list/1 and list_to_binary/1 deprecated warnings.

Replaced list_to_binary with iolist_to_binary and binary_to_list with :binary.bin_to_list