fetch.c minor changes, shifting from mallocs to VLAs