Fixes #2046 by directing STDERR to devnull