Add support for jpeg file extension
Merge pull request #4 from phairow/master

Add support for jpeg file extension