Catching stderr properly