Fixed paperclip bug with S3