allow pymarc.Record subclasses to be written by MARCWriter

* `type` demands equality of types, while `isinstance` caters for inheritance

Background: We subclassed `pymarc.Record` to implement some project specific operations. It would be nice, if `MARCWriter` could write those, too.