linux redirect stderr to variable