Work with Python 3 (and PyPy)

Travis CI build: https://travis-ci.org/kyrus/python-junit-xml/builds/23695708