Add support for customizable filenames

Far from perfect at the moment, but it works. Not sure how we're going to deal with the `-` in cropped. If we're setting it in the template there will be a empty `-` at the end of files that aren't cropped.

Fixes #35.
Outputs `-cropped` when the `crop` option is true