Fix bug with zero-byte object PUTs screwing up the MIME structure

Change-Id: I8ab669d715d683072a05a12da47b3e72cb028e78