check for unicode type while guessing file type.
fixes #63