Fixed issue where header wasn't written when there were no records in the IEnumerable on WriteRecords( IEnumerable ).