bugfix for pythontex_utils.py; closes #12