Update attachment.rb, set back S3/Heroku behavior