Write the example file reliably in the readme

The previous way doesn't work on PyPy or Jython, and emits warnings in recent python3s.
Merge pull request #109 from alex/patch-1

Write the example file reliably in the readme
@alex
Merge pull request #6 from kennethreitz/develop

latest from upstream