The second parameter to `StdioException` is the `errno`, which is not valid at this point (it should have been processed by the caught exception and included in its message).