callcgi: Added option to change CWD to the script's directory.