Support multipart_put and fix regressions. Fixes #31