bash redirect stderr to variable