Fix Kernel.atom_to_binary deprecation