replace deprecated string.split
Merge pull request #2 from mru2/python3-compat

Compatibility with python 3