MBS-6022, support other image types (not just .jpg).
Add tests.
Merge pull request #5 from metabrainz/suffix-and-tests

Suffix and tests