paperclip fix for delayed_paperclip gem