allow specifying env in util.check_output
Merge pull request #103 from minrk/env

allow specifying env in util.check_output