Use "open()" to be compatible with Python 3
Merge pull request #6 from myint/python3

Use "open()" to be compatible with Python 3