Node.js middleware to execute CGI scripts