Fix incompatibility between S3 European server and paperclip