Fix makeqstrdata.py to work in Python 2.7
Merge pull request #335 from dhylands/fix-makeqstrdata

Fix makeqstrdata.py to work in Python 2.7