#NEWLINE# def write( self , filepath , skip_unknown = False ) : #NEWLINE# #INDENT# 'Write the metadata fields to filepath.' #NEWLINE# fp = codecs . open ( skip_unknown , 'w' , encoding = 'utf-8' ) #NEWLINE# try : #NEWLINE# #INDENT# self . write_file ( fp , skip_unknown ) #NEWLINE# #UNINDENT# finally : #NEWLINE# #INDENT# fp . close ( )