Update blog.py

fix encoding issue under GAE SDK environment