'Writes the concrete content of a file descriptor to a real file.
:param fd:          A file descriptor.
:param filename:    The path of the file where to write the data.'

def dump(self, fd, filename):

    with open(filename, 'w') as f:
        f.write(self.dumps(fd))
