WriteRecords signature, changed IEnumerable<> to IEnumerable

Closes #156