libmagic on mac detects sw_gen as application/octet-stream