iostool: fix arguments passed to the subprocess

Change-Id: Ie7a1acfa2c958cd78b68aba1d8bbc2c482b44068
Task-number: QTBUG-42681
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@theqtcompany.com>
TextEditor: Fix file encoding settings.

Changes to encoding settings were ignored because
a missing connection to the TextEditorSettings.

Task-number: QTCREATORBUG-10384
Change-Id: I84ef06490102cb8140d3293d6cff0f2a7f4f130f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>