Return `null` when a record cannot be read.

Closes #17.