in reply to CGI doesn't make the file
You should NEVER put data files in your cgi-bin directory.
What you need to do is create a directory
in an apropriate location on your
server where the nobody
user has apropriate permissions to create/write files.