Fix formatting of chmod() and ErrorExit() params