Fixes #5 by allowing jpeg suffixes and forcing lower case suffixes.
Fixes #3.

Files copied to the error directory now have the name they would have received appended to the original name.