Update S3 lib; fix EE 2.9 compatibility