Lint code before save into file

Lint code before save into file.

resolve #609
nope. The escaping depends on the OS, and there are tricky cases. Use ``ProcessUtils::escapeArgument($path)`` (even ``escapeshellargs`` is bad as it is broken on Windows)