line_count() accepts stream argument
add has_daophot_header()