Check out file data to path.

        :param path: Filesystem path to check out item to.

        :return: True if successful.

def checkout(self, path):
        """
        Check out file data to path.

        :param path: Filesystem path to check out item to.

        :return: True if successful.
        """
        if os.path.isdir(path):
            path = os.path.join(path, self.name)
        try:
            log.debug('Checking out %s to %s' %(self.path, path))
            f = open(path, 'w')
            f.write(self.data())
            f.close()
            return True
        except Exception, e:
            raise ItemError(e)