Identify a file type given its raw binary, using magic numbers