Fixed print_records_header() and print_records_footer() to behave properly in case of text-oriented output (of=tm).
Fixed print_records_header() and print_records_footer() to behave
properly in case of text-oriented output (of=tm).

inveniosoftware/invenio,inveniosoftware/invenio,tiborsimko/invenio,tiborsimko/invenio