Fix cgi scripts with spaces in name