write stderr to separate file