Fix PIPESTATUS