examples: Avoid python3-specific syntax.

``from __future__ import ...`` is ineffective when the example script is
exec-ed by sphinx, resulting in a SyntaxError when running under
python2.

Fixes gh-649.

There is no test included with this fix. The ideal solution is to build the docs using sphinx as part of travis' work, and have sphinx fail on failed execution of an example.