D bindings to the C interface of libs3.