support multipart uploads - closes #1