Improve py3 compatibility
Merge pull request #15 from materialsvirtuallab/master

Improve py3 compatibility