Fix ``EncodedFile.writelines`` to call the underlying buffer's ``writelines`` method.