Configparser needed couple fixes for python3!
Python3 reads byte string from the tempfile.

Fix it by specifying it as a text file.