Fix malformed generated file when using python 2.7
Merge pull request #204 from dhylands/master

Fix malformed makeqstrdata generated file when using python 2.7