dirname, basename, env, head, id, sync, touch: exit with status 1 on invalid arguments
Merge pull request #296 from ebfe/exit_status

Partial exit status cleanup