fileno bug fixed

if fileno() failed then select would fail due to not-handling socket
errors.
they are now handled.