Fix misspelled parameter for encoding in makelatex.py

This patch fixes misspelled parameters to the open function
in makelatex.py