Allow setting output path with an envvar.