Now strips ".png" suffix from input files when generating output name.

Fixes #6.