use TableHDU.from_columns() instead of new_table

Astropy documentation warn about new_table() deprecation