clean up lib/s3.ml