Don't match on file extension, only on content type. Fixes #1
0.0.2