Make "language-tool" script Python 2 compatible