Fixed missing function: iolist_to_binary => to_string

Simple replacement of deprecated functions