ADDED: atom_to_stream/2.