File descriptors compatibility