oai-pmh: add OaiPmhRepositoryRecordWriter