Overriding AWS::Core::LogFormatter to make sure it return a UTF-8 string

Please add this commit in order to paperclip works properly with S3 on rails-4 branch.