Set modified date before processing image.

Allows image to save properly with non-nullable modified date column.
Merge pull request #84 from gauthierm/image-upload-modified-date

Set modified date before processing image.