Fixed issue #331

Now uses String.to_atom instead of binary_to_atom in examples.