export environment variables in Command#to_s as `X=Y cmd` doesn't work in Bourne shell