install.py: fix "'str' does not support the buffer interface" error in install_fonts