modified:   changed write to file example

Hello,

I corrected use of 'asMARC21()' to 'as_marc()' and 'addField()' to 'add_field()'

Best,
Will