Save a changed filename

When generating unique filenames for every file, the record needs to be saved after `recreate_versions!`. This PR saves the record, when the filename stored in the db is different then in the current uploader (filename changed).

The carrierwave documentation has an entry about this here: https://github.com/carrierwaveuploader/carrierwave/blob/master/README.md#recreating-versions