add some apparently-missing env/saltenv compatibility code to fileclient
Merge pull request #9251 from hulu/saltenv-env-defaulting-compat-fileclient

add some apparently-missing env/saltenv compatibility code to fileclient