apparently, file descriptors are not always allocated sequentially

Signed-off-by: Russell Senior <russell@personaltelco.net>