Add missing byte literal marker needed for Python 3 (since mkstemp automatically opens the file in binary mode)