Added support for WriteFileDescriptors