Dump environmental variables to file