Handle text files with strange extensions (#38)
Handle text files with strange extensions (#38)

Some text files like "foo.crash" weren't previously accepted by these
checks, because it's mime type from the system is nil. Now we check if
the type in that case conforms to the text type, and fallback to plain
text.
br1sk/Sonar,br1sk/Sonar