fix a bug that breaks some cgi scripts on busybox (patch from x-wrt)