Move file type table contents

The file type table was defined as static in a header, which meant that
every object reading the header had a copy. Move the table to a source
file.