piping stderr into stdout broke curl