Determine the file type of an open GenericFile instance.
asdf.generic_io.GenericFile
asdf.util.FileType