process: Correct std in/err fd num