Fix append of zero-length records to zero-length records.