Revert to paperclip 3.3.1