Windows: map ERROR_NO_DATA to EPIPE, rather than EINVAL