sm, w32: Translate logger and status fd to handles