Fix typos.
Merge pull request #4 from waywardmonkeys/fix-typos

Fix typos.
Note that buffer() creates a buffer, not a string.
Merge pull request #5 from waywardmonkeys/fix-buffer-doc

Note that buffer() creates a buffer, not a string.