Add UTF-8 mark at top of file for Python 2.
Use yield instead of yield from.