Use sys.__std* streams for fileno().