def write_file(self, target_path, html):
logger.debug("<STR_LIT>".format(self.fs_name, target_path))<EOL>with self.fs.open(smart_text(target_path), '<STR_LIT:wb>') as outfile:<EOL><INDENT>outfile.write(six.binary_type(html))<EOL>outfile.close()<EOL><DEDENT>
Writes out the provided HTML to the provided path.