Rename fd constants to match stdio naming