Python 3 Support
- fix except syntax for python3
- fix unicode check for compatible with python3
- dict items for python3
Merge pull request #41 from k-okada/unicode_python3

Fix Python 3 compatibility of the unicode code