Move data_record up into netfd.c. Simplifies code substantially and eliminates data.[ch].