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

Found by pylint warnings about unused `env` args.