Fixed issue #331

Now uses String.to_atom instead of binary_to_atom in examples.
Merge pull request #332 from triss/master

Fixed issue #331