Modify how files are determined to be unsupported

Fixes #409
Merge pull request #411 from MediaCrush/fix-issue-409

Modify how files are determined to be unsupported