refactor: duck-typing reading magic string and try to restore the reader position if possible
refactor: duck-typing reading magic string and try to restore the reader position if possible

h2non/filetype.py