'Save the rendered output to the output file.'

def build(self):

    logger.debug('Building    {0}    -->    {1}'.format(self.source_path, self.final_url))
    data = self.render()
    if (not self.discarded):
        try:
            os.makedirs(os.path.dirname(self.full_build_path))
        except OSError:
            pass
        with io.FileIO(self.full_build_path, 'w') as f:
            f.write(data.encode('utf-8'))
        self.site.plugin_manager.postBuildPage(self)
