mark instance as changed after assigning new file

https://github.com/thoughtbot/paperclip/issues/1163