Add S3 access to refinery/core.rb

[#46762735]