environ.c needs unistd.h to get environ for Linux.
Can't free local_cmd until after we're done with file.