code: def create_fd (self):
          
          if self.filename is None:
              return i18n.get_encoded_writer(encoding=self.output_encoding,
                                             errors=self.codec_errors)
          return codecs.open(self.filename, "wb", self.output_encoding,
                             self.codec_errors)
docs: Create open file descriptor.