ConfigFile now  handles escaping special characters by itself. Closes #2136.
Merge branch 'release/2.47'